<template>
  <!-- 页头html -->
  <div class="head">
    <div class="logo">
      <div class="logobox">
        <img src="../assets/header.png" title="索菲亚" alt="索菲亚" />
      </div>
    </div>
    <div class="navi">
      <!-- 根据当前页面所属类别，给对应的大类li和子类li标签加上class="on" -->
      <ul>
        <li class="on">
          <router-link to="/">首页</router-link>
          <ul></ul>
        </li>
        <li><router-link to="/page">关于我们</router-link></li>
        <li>
          <router-link to="/brand">品牌力</router-link>
          <ul>
            <!-- 科技 -->
            <li><router-link to="/brand">生产经营 </router-link></li>

            <li><router-link to="">品牌轨迹 </router-link></li>

            <li><router-link to="/honor">企业荣誉 </router-link></li>

            <li><router-link to="">销售网络</router-link></li>

            <li><router-link to="/serve"> 全流程服务</router-link></li>
            <li><router-link to="/fabricate">智能制造</router-link></li>
          </ul>
        </li>
        <li>
          <router-link to="/product">产品力</router-link>
          <ul>
            <li><router-link to="/product">新品展示</router-link></li>

            <li><router-link to="">时尚设计</router-link></li>

            <li><router-link to="">环保生活</router-link></li>
          </ul>
        </li>
        <li>
          <router-link to="/">投资者关系</router-link>
          <ul>
            <li><router-link to="">信息披露</router-link></li>
            <li>
              <router-link to=""> 公司治理</router-link>
            </li>
            <li><router-link to="">基本数据</router-link></li>
            <li>
              <router-link to=""> 投资者教育</router-link>
            </li>
            <li><router-link to="">投资者接待</router-link></li>
            <li><router-link to="">投资者保护</router-link></li>
          </ul>
        </li>
        <li>
          <router-link to="/society">社会责任</router-link>
          <ul>
            <li><router-link to="/society">抗疫行动</router-link></li>

            <li><router-link to="">稀捍行动</router-link></li>

            <li><router-link to="">希望行动</router-link></li>

            <li><router-link to="">关爱行动</router-link></li>
          </ul>
        </li>
        <li>
          <router-link to="">新闻中心</router-link>
          <ul>
            <li><router-link to="">企业动态</router-link></li>

            <li><router-link to="">媒体报道</router-link></li>

            <li><router-link to="">企业年刊</router-link></li>
          </ul>
        </li>
      </ul>
    </div>

	<div class="topbar">
            <div class="toplang">
                <img src="UaKIds=.png">
              
                <router-link to="/mylogin">   登录</router-link>｜ <router-link to="/myzhuce">  注册</router-link>
            </div>
            <div class="topseek">
                <form id="seekform" method="get" action="https://www.sfygroup.com/sfy/search"
                    onsubmit="return checkkw()">
                    <span><img
                            src="ttps://file.suofeiya.com.cn/v/d66190b3-53a2-4c22-aa9d-d724ef40658a"
                           >在线客服</span>
                </form>
            </div> 
       </div>

    <router-view />
  </div>
</template>

<style scoped>
/* 全局共用 
页面页尾永远在底部整体布局固定 */

.container {
  position: relative;
}

* {
  padding: 0;
  margin: 0;
  touch-action: pan-y;
}

body,
html {
  height: 100%;
}

body,
td,
input,
textarea,
button {
  color: #444;
  font: 12px 微软雅黑, Microsoft Yahei;
  line-height: 24px;
}

a:link,
a:active,
a:visited {
  color: #444;
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
  -moz-transition: background-color, color, 0.3s;
  -o-transition: background-color, color, 0.3s;
  -webkit-transition: background-color, color, 0.3s;
  transition: background-color, color, 0.3s;
  color: #b58c3c;
}

img {
  border: none;
}

form {
  margin: 0px;
  padding: 0px;
}

input:focus,
textarea:focus,
a:focus,
select:focus {
  outline: none;
}

ul,
li {
  margin: 0px;
  padding: 0px;
  list-style-type: none;
}

.nowrap {
  white-space: nowrap;
  text-overflow: ellipsis;
  -o-text-overflow: ellipsis;
  overflow: hidden;
}

.clear {
  clear: both;
}

.hide {
  display: none;
}

.right {
  float: right;
}

.left {
  float: left;
}

.hand {
  cursor: pointer;
}

.tips {
  height: auto;
  padding: 5px 20px;
  background: #666;
  color: #fff;
  line-height: 18px;
  position: fixed;
  z-index: 1000;
  top: 40%;
  left: 50%;
  filter: alpha(opacity=0);
  opacity: 0;
  font-size: 0.75em;
  text-align: center;
  border-radius: 15px;
}

.maskbg {
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  overflow: auto;
}
.maskbgc {
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 1);
  display: none;
  overflow: auto;
}

/* placeholder颜色 */

::-webkit-input-placeholder {
  color: #999;
}

:-moz-placeholder {
  color: #999;
}

::-moz-placeholder {
  color: #999;
}

:-ms-input-placeholder {
  color: #999;
}

/* 头部 */

.head {
	width: 100%;
	height: 110px;
	background: rgba(255, 255, 255, 0.95);
	position: relative;
	display: block;
}

.logo {
	width: 400px;
    height: 110px;
	display: flex;
    justify-content: center;
    align-items: center;
	
	overflow: hidden;
	/* margin: 32px 0 0 270px; */
	float: left;
}
.logobox img{
	width: 100%;

}
.logobox{
	
	width: 150px;
	

}

/*å¯¼èˆªæ */

.navi, .navi ul, .navi ul li, .navi ul li a {
	margin: 0;
	padding: 0;
	border: 0;
	list-style: none;
	line-height: 1;
	display: block;
	position: relative;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.navi {
	height: 60px;
	float: left;
	padding-top: 38px;
}

.navi>ul>li {
	float: left;
	margin: 0 38px;
}

.navi>ul>li:after {
	content: "";
	position: absolute;
	width: 2px;
	height: 1px;
	left: 0;
	top: 5px;
	z-index: 9;
	background: transparent;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-ms-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
}

.navi>ul>li:hover,.navi>ul>li.on {
	color: #b58c3c;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-ms-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
}

.navi>ul>li:hover:after,.navi>ul>li.on:after {
	width: 100%;
	background: #cfa346;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-ms-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
}

.navi>ul>li>a {
	font-size: 15px;
	line-height: 65px;
	text-decoration: none;
	text-transform: uppercase;
	-webkit-transition: color .3s ease;
	-moz-transition: color .3s ease;
	-ms-transition: color .3s ease;
	-o-transition: color .3s ease;
	transition: color .3s ease;
}

.navi>ul>li:hover>a,.navi>ul>li.on>a {
	color: #b58c3c;
}

.navi ul ul {
	width: 180px;
	position: absolute;
	left: -9999px;
	z-index: 1000;
}

.navi li:hover>ul {
	left: -30px;
}

.navi ul ul ul {
	margin-left: 100%;
	top: 0;
}

.navi ul ul li {
	height: 0;
	-webkit-transition: height .3s ease;
	-moz-transition: height .3s ease;
	-ms-transition: height .3s ease;
	-o-transition: height .3s ease;
	transition: height .3s ease;
}

.navi ul ul li:after {
	content: "";
	background: url(https://file.suofeiya.com.cn/v/ac103cf2-4443-44b4-a9d1-a65b84bf8a81) left center no-repeat;
	position: absolute;
	width: 1px;
	height: 7px;
	right: 10px;
	top: 22px;
	z-index: 9;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-ms-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
}

.navi ul li:hover>ul>li {
	height: 50px;
}

.navi ul ul li a {
	padding: 20px 0 20px 30px;
	font-size: 14px;
	background: #f1e8da;
	text-decoration: none;
	color: #775043;
	-webkit-transition: color .3s ease;
	-moz-transition: color .3s ease;
	-ms-transition: color .3s ease;
	-o-transition: color .3s ease;
	transition: color .3s ease;
}

.navi ul ul li:hover>a, .navi ul ul li a:hover, .navi ul ul li.on a {
	color: #fff;
	background: #b49c8e;
	font-weight: bold;
}

.navi ul ul li:hover:after, .navi ul ul li.on:after {
	width: 36px;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-ms-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
}
.navi ul ul li.on:after {
	width: 0px;
}

@media screen and (max-width: 1680px) {
	.logo {
		width: 330px;
		/* margin: 30px 0 0 180px; */
	}
}
@media screen and (max-width: 1500px) {
	.logo {
		width: 350px;
		/* margin: 30px 0 0 150px; */
	}
	.navi>ul>li {
		margin: 0 35px;
	}
	.navi ul ul li a {
		padding: 15px 0 15px 30px;
		font-size: 12px;
	}
	.navi ul li:hover>ul>li {
		height: 40px;
	}
	.navi ul ul li:after {
		top: 15px;
	}
	.navi ul ul {
		width: 160px;
	}
	.topbar img {
		height: 16px;
	}
}
@media screen and (max-width: 1366px) {
	.head {
		height: 100px;
	}
	.logo {
		width: 220px;
		/* margin: 25px 0 0 80px; */
	}
	.navi {
		padding-top: 28px;
	}
	.navi>ul>li {
		margin: 0 30px;
	}
	.navi>ul>li>a {
		font-size: 14px;
	}
}
</style>